package week11;


import java.util.Arrays;
import java.util.Scanner;

public class Main6 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = Integer.parseInt(sc.nextLine());
		int []a=new int [n];
		
		for(int i=0;i<a.length;i++)
		{
			String line = sc.nextLine();	
		try{
			int value = Integer.parseInt(line);
			a[i] = value;
			}catch(NumberFormatException e){
				i--;
				System.out.println(e);
			
			
			}
			
		}
		System.out.println(Arrays.toString(a));
	}
}
